Skip to main content

Task Work Mode Reference

This page describes the workMode object returned by the List Robot Work Modes API (POST /openapi/v3/tasks/fusion/work-modes/list): its complete configuration structure, the meaning of each field, and all currently known work mode enumerations. Different product lines support different mode combinations.

Supported Versions​

A6+

Usage Example (workMode Object)​

When creating a Combined Task or schedule, the workMode object usage example is as follows:

{
"workMode": {
"id": "f476ea80b55042efbd69d31f52d039ff",
"mode": "wash",
"subType": "wash",
"type": 0,
"strength": "middle"
}
}

Complete workMode Configuration Structure​

{
"id": "f476ea80b55042efbd69d31f52d039ff",
"mode": "wash",
"subType": "wash",
"type": 0,
"configType": "strength",
"hasStrength": true,
"recommended": true,
"subTaskEnabled": true,
"defaultStrength": "middle",
"strengthOptions": ["low", "middle", "high"]
}

Field Reference​

FieldTypeExampleDescriptionNotes
idstringf476ea80b55042efbd69d31f52d039ffWork mode ID that uniquely identifies a mode within a product lineReferenced when creating Combined Tasks or schedules
modestringwashWork mode machine code (display identifier); lowercase letters, digits, and underscores onlySee Work Mode Enumerations for all values
subTypestringwashInternal mode identifier (English enum value) used for frontend-backend interactionCurrently identical to mode
typeint0Work task type0=CLEAN (cleaning task); 5=WORK (work task: inspection/power wash). Cleaning modes are 0; inspection and power wash are 5
recommendedbooltrueWhether this mode is recommendedUsually one mode per product line is marked as recommended
configTypestringstrengthConfiguration stylestrength=has cleaning gear levels; fixed=fixed configuration (no gear levels); custom=custom configuration (reserved, no current instances)
hasStrengthbooltrueWhether cleaning gear adjustment is supportedtrue when configType=strength; false when fixed
strengthOptionsarray<string>["low","middle","high"]List of selectable gear levelsEmpty array [] for fixed modes such as inspection and power wash; some modes support a single level only (e.g. ["middle"]). Array order does not imply level ranking
defaultStrengthstringmiddleDefault gearEmpty string "" for inspection and power wash
subTaskEnabledbooltrueWhether the mode can be used as a subtask in a Combined TaskUsually true for cleaning modes; false for inspection and power wash (standalone tasks only)

Field Correlations​

  • type=0 (cleaning task): configType=strength, hasStrength=true, defaultStrength is one of low/middle/high, subTaskEnabled=true.
  • type=5 (work task: inspection, power wash): configType=fixed, hasStrength=false, strengthOptions=[], defaultStrength="", subTaskEnabled=false.

Work Mode Enumerations​

The enumerations below are aggregated from the current task service configuration and cover all known values. mode and subType currently share the same values.

Cleaning Tasks (type=0)​

mode / subTypeNameDescription
sweepSweepDry sweeping for hard floors
sweep_washSweep + WashCombined sweeping and washing in a single pass
washWashWet scrubbing/washing
sweep_vacuumSweep + VacuumCombined sweeping and vacuuming in a single pass
vacuumingVacuumPure vacuuming, suitable for carpets and similar scenarios
dust_pushDust PushDry dust-mopping with a dust mop pad
roller_dust_pushRoller Dust PushDust pushing with a roller brush
silent_dust_pushSilent Dust PushLow-noise dust pushing for noise-sensitive scenarios
aromatherapyAromatherapyReleases fragrance while moving; no wet cleaning
disinfectantDisinfectionSprays disinfectant for sanitization
sweep_vacuum_cleanSweep + Vacuum CleanCombined sweeping/vacuuming deep cleaning mode
carpet_cleaningCarpet CleaningVacuum cleaning mode dedicated to carpets
hot_washHot Water WashWashing with hot water for stronger degreasing

Work Tasks (type=5)​

mode / subTypeNameDescription
inspectInspectionPatrols along a route and autonomously cleans when cleanable stains are detected
strong_washPower WashHigh-intensity washing for heavily soiled areas
info

Work modes are configured per robot product line. The table above is the full enumeration; the modes actually supported by a specific robot are those returned by its List Robot Work Modes API. For example, sweeper product lines typically return sweep and inspect, while scrubber product lines typically return wash, dust_push, and inspect.

Gear Enumerations​

strengthNameDescription
lowGentleGentle cleaning; faster and quieter, for lightly soiled areas
middleStandardStandard cleaning (the default for most modes)
highStrongStrong cleaning for heavily soiled areas

Gear levels apply only to modes with configType=strength. strengthOptions is the subset of levels actually selectable for the mode, and defaultStrength is used when strength is omitted.

configType Enumerations​

configTypeMeaningCharacteristics
strengthHas cleaning gear levelshasStrength=true; a strength value may be provided; strengthOptions is non-empty
fixedFixed configurationhasStrength=false; no levels; strengthOptions=[] and defaultStrength=""; inspection and power wash fall into this category
customCustom configurationReserved enumeration; no instances in current production data

Usage Example​

When creating a Combined Task or schedule, workMode references an object returned by List Robot Work Modes:

{
"workMode": {
"id": "f476ea80b55042efbd69d31f52d039ff",
"mode": "wash",
"subType": "wash",
"type": 0,
"strength": "middle"
}
}
  • id + mode (+ subType) together locate a work mode; when id is empty, matching by mode alone is sufficient.
  • When strength is omitted, the mode's defaultStrength is used; a provided value must be one of strengthOptions.
  • Fixed-configuration modes (configType=fixed, e.g. inspect, strong_wash) do not accept strength.

Typical Product Line Configuration Examples​

The following are real configurations from the task service, showing how mode combinations differ across product lines.

Scrubber product line (wash, dust push, inspection):

[
{"id": "7f94c2fe1e744ea7a06a411329dc763f", "mode": "sweep", "type": 0, "subType": "sweep", "configType": "strength", "hasStrength": true, "recommended": true, "subTaskEnabled": true, "defaultStrength": "middle", "strengthOptions": ["low", "middle", "high"]},
{"id": "d1b03d7c0c1c4773b9dae3d4d027037e", "mode": "sweep_wash", "type": 0, "subType": "sweep_wash", "configType": "strength", "hasStrength": true, "recommended": false, "subTaskEnabled": true, "defaultStrength": "middle", "strengthOptions": ["low", "middle", "high"]},
{"id": "0fa484cfec2a4d618c7bd17583315ece", "mode": "wash", "type": 0, "subType": "wash", "configType": "strength", "hasStrength": true, "recommended": false, "subTaskEnabled": true, "defaultStrength": "middle", "strengthOptions": ["low", "middle", "high"]},
{"id": "", "mode": "dust_push", "type": 0, "subType": "dust_push", "configType": "strength", "hasStrength": true, "recommended": false, "subTaskEnabled": true, "defaultStrength": "middle", "strengthOptions": ["low", "middle", "high"]},
{"id": "3f7a8b2c5d9e4f1a8c6b9e2d7f4a8b3c", "mode": "inspect", "type": 5, "subType": "inspect", "configType": "fixed", "hasStrength": false, "recommended": false, "subTaskEnabled": false, "defaultStrength": "", "strengthOptions": []}
]

Product line with power wash (strong_wash under type=5):

[
{"id": "1dee3b4db66942e5b515acda4c50467a", "mode": "wash", "type": 0, "subType": "wash", "configType": "strength", "hasStrength": true, "recommended": true, "subTaskEnabled": true, "defaultStrength": "middle", "strengthOptions": ["high", "low", "middle"]},
{"id": "e9b96b1fb8944bf0bbc442d3f09a315b", "mode": "dust_push", "type": 0, "subType": "dust_push", "configType": "strength", "hasStrength": true, "recommended": false, "subTaskEnabled": true, "defaultStrength": "middle", "strengthOptions": ["high", "low", "middle"]},
{"id": "3f7a8b2c5d9e4f1a8c6b9e2d7f4a8b3c", "mode": "inspect", "type": 5, "subType": "inspect", "configType": "fixed", "hasStrength": false, "recommended": false, "subTaskEnabled": false, "defaultStrength": "", "strengthOptions": []},
{"id": "6e4d8a9f2b7c3e5a1d9f6b8c4e7a2d5f", "mode": "strong_wash", "type": 5, "subType": "strong_wash", "configType": "fixed", "hasStrength": false, "recommended": false, "subTaskEnabled": false, "defaultStrength": "", "strengthOptions": []}
]

Commercial cleaning robot product line (dry modes such as aromatherapy/disinfection/carpet cleaning):

[
{"id": "b6680d6bec6f4c6eac0cdbcd1e59d53c", "mode": "disinfectant", "type": 0, "subType": "disinfectant", "configType": "strength", "hasStrength": true, "recommended": false, "subTaskEnabled": true, "defaultStrength": "middle", "strengthOptions": ["low", "middle", "high"]},
{"id": "d42df81e0da148f0b40a37e60807128b", "mode": "aromatherapy", "type": 0, "subType": "aromatherapy", "configType": "strength", "hasStrength": true, "recommended": false, "subTaskEnabled": true, "defaultStrength": "middle", "strengthOptions": ["low", "middle", "high"]},
{"id": "...", "mode": "carpet_cleaning", "type": 0, "subType": "carpet_cleaning", "configType": "strength", "hasStrength": true, "recommended": false, "subTaskEnabled": true, "defaultStrength": "middle", "strengthOptions": ["low", "middle", "high"]}
]

Product line supporting a single gear level (strengthOptions contains only middle):

[
{"id": "3bebb490abc04d39ab84ff8044055c6b", "mode": "wash", "type": 0, "subType": "wash", "configType": "strength", "hasStrength": true, "recommended": true, "subTaskEnabled": true, "defaultStrength": "middle", "strengthOptions": ["low", "middle", "high"]},
{"id": "74bf116ab2554e128640a823b559358d", "mode": "dust_push", "type": 0, "subType": "dust_push", "configType": "strength", "hasStrength": true, "recommended": false, "subTaskEnabled": true, "defaultStrength": "middle", "strengthOptions": ["middle"]},
{"id": "3f7a8b2c5d9e4f1a8c6b9e2d7f4a8b3c", "mode": "inspect", "type": 5, "subType": "inspect", "configType": "fixed", "hasStrength": false, "recommended": false, "subTaskEnabled": false, "defaultStrength": "", "strengthOptions": []}
]